﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000803 RID: 2051
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRogueShopMiracleInfoScRsp : IMessage<GetRogueShopMiracleInfoScRsp>, IMessage, IEquatable<GetRogueShopMiracleInfoScRsp>, IDeepCloneable<GetRogueShopMiracleInfoScRsp>, IBufferMessage
	{
		// Token: 0x17001A07 RID: 6663
		// (get) Token: 0x06005BF6 RID: 23542 RVA: 0x000F68B7 File Offset: 0x000F4AB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRogueShopMiracleInfoScRsp> Parser
		{
			get
			{
				return GetRogueShopMiracleInfoScRsp._parser;
			}
		}

		// Token: 0x17001A08 RID: 6664
		// (get) Token: 0x06005BF7 RID: 23543 RVA: 0x000F68BE File Offset: 0x000F4ABE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRogueShopMiracleInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001A09 RID: 6665
		// (get) Token: 0x06005BF8 RID: 23544 RVA: 0x000F68D0 File Offset: 0x000F4AD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRogueShopMiracleInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06005BF9 RID: 23545 RVA: 0x000F68D7 File Offset: 0x000F4AD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopMiracleInfoScRsp()
		{
		}

		// Token: 0x06005BFA RID: 23546 RVA: 0x000F68E0 File Offset: 0x000F4AE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopMiracleInfoScRsp(GetRogueShopMiracleInfoScRsp other) : this()
		{
			this.nNIFKHLBMFG_ = ((other.nNIFKHLBMFG_ != null) ? other.nNIFKHLBMFG_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.gameMiracleInfo_ = ((other.gameMiracleInfo_ != null) ? other.gameMiracleInfo_.Clone() : null);
			this.eEEDIPMFAFL_ = other.eEEDIPMFAFL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005BFB RID: 23547 RVA: 0x000F6954 File Offset: 0x000F4B54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRogueShopMiracleInfoScRsp Clone()
		{
			return new GetRogueShopMiracleInfoScRsp(this);
		}

		// Token: 0x17001A0A RID: 6666
		// (get) Token: 0x06005BFC RID: 23548 RVA: 0x000F695C File Offset: 0x000F4B5C
		// (set) Token: 0x06005BFD RID: 23549 RVA: 0x000F6964 File Offset: 0x000F4B64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData NNIFKHLBMFG
		{
			get
			{
				return this.nNIFKHLBMFG_;
			}
			set
			{
				this.nNIFKHLBMFG_ = value;
			}
		}

		// Token: 0x17001A0B RID: 6667
		// (get) Token: 0x06005BFE RID: 23550 RVA: 0x000F696D File Offset: 0x000F4B6D
		// (set) Token: 0x06005BFF RID: 23551 RVA: 0x000F6975 File Offset: 0x000F4B75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001A0C RID: 6668
		// (get) Token: 0x06005C00 RID: 23552 RVA: 0x000F697E File Offset: 0x000F4B7E
		// (set) Token: 0x06005C01 RID: 23553 RVA: 0x000F6986 File Offset: 0x000F4B86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EPHHHLOCLPK GameMiracleInfo
		{
			get
			{
				return this.gameMiracleInfo_;
			}
			set
			{
				this.gameMiracleInfo_ = value;
			}
		}

		// Token: 0x17001A0D RID: 6669
		// (get) Token: 0x06005C02 RID: 23554 RVA: 0x000F698F File Offset: 0x000F4B8F
		// (set) Token: 0x06005C03 RID: 23555 RVA: 0x000F6997 File Offset: 0x000F4B97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool EEEDIPMFAFL
		{
			get
			{
				return this.eEEDIPMFAFL_;
			}
			set
			{
				this.eEEDIPMFAFL_ = value;
			}
		}

		// Token: 0x06005C04 RID: 23556 RVA: 0x000F69A0 File Offset: 0x000F4BA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRogueShopMiracleInfoScRsp);
		}

		// Token: 0x06005C05 RID: 23557 RVA: 0x000F69B0 File Offset: 0x000F4BB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRogueShopMiracleInfoScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.NNIFKHLBMFG, other.NNIFKHLBMFG) && this.Retcode == other.Retcode && object.Equals(this.GameMiracleInfo, other.GameMiracleInfo) && this.EEEDIPMFAFL == other.EEEDIPMFAFL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005C06 RID: 23558 RVA: 0x000F6A24 File Offset: 0x000F4C24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.nNIFKHLBMFG_ != null)
			{
				num ^= this.NNIFKHLBMFG.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.gameMiracleInfo_ != null)
			{
				num ^= this.GameMiracleInfo.GetHashCode();
			}
			if (this.EEEDIPMFAFL)
			{
				num ^= this.EEEDIPMFAFL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005C07 RID: 23559 RVA: 0x000F6AA8 File Offset: 0x000F4CA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005C08 RID: 23560 RVA: 0x000F6AB0 File Offset: 0x000F4CB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005C09 RID: 23561 RVA: 0x000F6ABC File Offset: 0x000F4CBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this.gameMiracleInfo_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.GameMiracleInfo);
			}
			if (this.EEEDIPMFAFL)
			{
				output.WriteRawTag(72);
				output.WriteBool(this.EEEDIPMFAFL);
			}
			if (this.nNIFKHLBMFG_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.NNIFKHLBMFG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005C0A RID: 23562 RVA: 0x000F6B50 File Offset: 0x000F4D50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.nNIFKHLBMFG_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.NNIFKHLBMFG);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.gameMiracleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GameMiracleInfo);
			}
			if (this.EEEDIPMFAFL)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005C0B RID: 23563 RVA: 0x000F6BCC File Offset: 0x000F4DCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRogueShopMiracleInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.nNIFKHLBMFG_ != null)
			{
				if (this.nNIFKHLBMFG_ == null)
				{
					this.NNIFKHLBMFG = new ItemCostData();
				}
				this.NNIFKHLBMFG.MergeFrom(other.NNIFKHLBMFG);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.gameMiracleInfo_ != null)
			{
				if (this.gameMiracleInfo_ == null)
				{
					this.GameMiracleInfo = new EPHHHLOCLPK();
				}
				this.GameMiracleInfo.MergeFrom(other.GameMiracleInfo);
			}
			if (other.EEEDIPMFAFL)
			{
				this.EEEDIPMFAFL = other.EEEDIPMFAFL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005C0C RID: 23564 RVA: 0x000F6C74 File Offset: 0x000F4E74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005C0D RID: 23565 RVA: 0x000F6C80 File Offset: 0x000F4E80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 42U)
				{
					if (num == 24U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 42U)
					{
						if (this.gameMiracleInfo_ == null)
						{
							this.GameMiracleInfo = new EPHHHLOCLPK();
						}
						input.ReadMessage(this.GameMiracleInfo);
						continue;
					}
				}
				else
				{
					if (num == 72U)
					{
						this.EEEDIPMFAFL = input.ReadBool();
						continue;
					}
					if (num == 82U)
					{
						if (this.nNIFKHLBMFG_ == null)
						{
							this.NNIFKHLBMFG = new ItemCostData();
						}
						input.ReadMessage(this.NNIFKHLBMFG);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002394 RID: 9108
		private static readonly MessageParser<GetRogueShopMiracleInfoScRsp> _parser = new MessageParser<GetRogueShopMiracleInfoScRsp>(() => new GetRogueShopMiracleInfoScRsp());

		// Token: 0x04002395 RID: 9109
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002396 RID: 9110
		public const int NNIFKHLBMFGFieldNumber = 10;

		// Token: 0x04002397 RID: 9111
		private ItemCostData nNIFKHLBMFG_;

		// Token: 0x04002398 RID: 9112
		public const int RetcodeFieldNumber = 3;

		// Token: 0x04002399 RID: 9113
		private uint retcode_;

		// Token: 0x0400239A RID: 9114
		public const int GameMiracleInfoFieldNumber = 5;

		// Token: 0x0400239B RID: 9115
		private EPHHHLOCLPK gameMiracleInfo_;

		// Token: 0x0400239C RID: 9116
		public const int EEEDIPMFAFLFieldNumber = 9;

		// Token: 0x0400239D RID: 9117
		private bool eEEDIPMFAFL_;
	}
}
